﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace MainService.ZNQD
{
    [XmlRoot("Solutions")]
    public class Solutions
    {
        [XmlElement("Solution")]
        public List<Solution> list = new List<Solution>();
    }
    
    public class Solution 
    {
        [XmlAttribute("systemPath")]
        public string SystemPath { get; set; }
         [XmlAttribute("version")]
        public string Version { get; set; }
         [XmlAttribute("serieId")]
        public string SerieId { get; set; }
         [XmlAttribute("solutionEname")]
        public string SolutionName { get; set; }
         [XmlAttribute("solutionCname")]
        public string SolutionChinaName { get; set; }
         [XmlAttribute("solutionId")]
        public string SolutionID { get; set; }
         [XmlElement("solutionDesc",typeof(CDATA))]
         public CDATA solutionDesc 
         {
             get 
             {
                 return new CDATA(Description);
             }
             set 
             {
                 Description = value.InnerXML;
             }
         }
         [XmlIgnore]
         public string Description { get; set; }
         [XmlElement("createTime",typeof(string))]
         public string CreateTime { get; set; }
    }
}
